package com.guigu.xiaowenbo.service;

import com.guigu.xiaowenbo.pojo.Spay;
import com.guigu.xiaowenbo.pojo.Spaydetails;

import java.util.List;

public interface SpaydetailsService {
    public int insertres(Spaydetails spaydetails);
    public List<Spaydetails> selectrws(Integer parentid);
    public Spay selectrwid(Integer id);
    public List<Spaydetails> selectrwddd(Integer parentid);
    public Spaydetails selectrwdp(Integer parentid, String productid);
    public int updaterwds(Integer parentid, String productid);
    public List<Spaydetails> selectrwdrs(Integer parentid);
    public int updaterwdrses(Integer parentid, String productid, Integer paidamounts);
    public int updaterwdrs(Integer parentid, String productid, Integer paidamount);

    int insert_WZY(Spaydetails spaydetails);
}
